Cache Index V2.3


Cache Index is a program that makes it easy to view the files stored in Netscape's cache. This means that you can read pages at your leisure when you are off line. It also makes it easy to 'borrow' icons and graphics for use on your own page if you are developing one.
Cache Index will work with Win 3.1 or Win95.

How does it work?

When Netscape is used to surf the Web, it stores all the pages it receives (text and graphics) in its cache directory. You can configure the maximum size of the cache that Netscape keeps and how long it leaves the files there before it purges them (see Netscape Options/Preferences/Cache). Cache Index scans the cache and produces a series of HTML files, with a master index page called A-INDEX.HTM.
The HTML pages contain links to each of the files in the cache. Cache Index breaks the cache into managable pages containing no more than 28 text page links or 13 graphics. (On my system Netscape V1.1 chokes on any page with more than 13 graphics.)
(Note: the default of 28 can be changed - see below)
Cache Index sorts the entries into the same order as they were originally viewed with the page's title as well as the Netscape filename, thus making it very easy to select a particular page.

How to install Cache Index

How to run Cache Index for Netscape V2

Suggestions for easier use with V2

How to run Cache Index for Netscape V1, V1.22

Note:

Text pages and graphics are listed separately, except when -s switch is used.
For an explanation of the Text Files see next section.
Version 2 of this program will work with Netscape V1.1, 1.22 or 2.0.
Netscape V2 changed the format of its FAT file (no doubt making it much more efficient for Netscape to access) but making it too difficult for Cache Index to pull apart. Hence the more roundabout procedure required for V2.

Text Files

For each text file there are two links generated:

Verify Documents

There is an option in Netscape's Cache config screen that tells it how often to verify that what it has in the cache is the latest version of the file. Normally this should be set to 'once per session', which means that once per on-line session Netscape will check the currency of any page (file) you visit. If you click on a link while you are off-line, Netscape will normally try to invoke your dialler and download the page even if it is in the cache, because of this verify setting. However if you temporarily set 'verify document - never', you can then browse the cache using the URL link (on the filename) and you will see the pages as they originally appeared, complete with graphics! You will also be able to link to other pages that are also in the cache.

Directory Scan

There is an option (+d) which can be used to make Cache Index scan a directory looking for Netscape cache files and create an index of them. This option is intended for when there is no FAT file available. eg if someone has saved a bunch of files out of a cache directory. There are several limitations to this mode: firstly because there is no FAT file, it is not possible to determine the original URL of each file. Also it is necessary for Cache Index to make a guess about the file type based on the file extension. At present it assumes .GIF and .JPG are graphics files and anything else is text. If it gets it wrong, it is not a major problem, it just means the file ends up in the wrong list. Another limitation is that only files whose name starts with "M0" are considered.

Options

There are a few command line options that can be used to tailor the program's operation to your requirements:

Where to contact the author:

To make comments or suggestions, or for further information, contact David Griffiths at:

If you would like to be on a mailing list to be advised of updates to the program, send an email to the address above with 'SUBSCRIBE UPDATES' as the subject.

Cache Index is distributed as Freeware. If you find it useful I would appreciate hearing from you. The program must be distributed in its original ZIP file without any modifications to any of the files. RETURN to INDEX


© 1995-6 David Griffiths - All Rights Reserved.